package com.net.xpay.common.dao;

import com.net.xpay.common.domain.CommonSysConfig;
import com.net.xpay.common.model.search.CommonSysConfigSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.VersionedMapper;
import com.net.common.annotation.DataCommon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface CommonSysConfigMapper extends VersionedMapper<Long, CommonSysConfig> {
    List<CommonSysConfig> search(@Param("searchModel") CommonSysConfigSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel")CommonSysConfigSearchModel searchModel);
}
